
import hyRequest from '../request'
// import {post} from '../request'
//分销订单列表
export function writeOrder(data) {
    return hyRequest.post({
      url: "/api/dealer/orderList",
      params: data
    })
  }
  //商品订单
  export function goodsList(data) {
    return hyRequest.post({
      url: "/api/regionservice/goodsList",
      params: data
    })
  }
  export function withdrawalList(data) {
    return hyRequest.post({
      url: "/api/withdrawal/list",
      params: data
    })
  }
  export function allList(data) {
    return hyRequest.post({
      url: "/api/regionservice/allList",
      params: data
    })
  }
  export function exchangeList(data) {
    return hyRequest.post({
      url: "/api/dealer/exchangeList",
      params: data
    })
  }
  
  // 下级用户
  export function belowList(data) {
    return hyRequest.post({
      url: "/api/dealer/belowList",
      params: data
    })
  }
  
  // 下级用户购买记录
  export function belowPayList(data) {
    return hyRequest.post({
      url: "/api/dealer/belowPayList",
      params: data
    })
  }